package com.dfkj.wmswcs.controller;

import com.dfkj.wmswcs.common.BaseResponse;
import com.dfkj.wmswcs.common.ResultUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/main")
@Api(tags = "健康检测")
public class MainController {

    @GetMapping("/health")
    @ApiOperation("监测")
    public BaseResponse health() {
        return ResultUtils.success("成功");

    }

}
